package com.zhao;

import com.zhao.concreteHandler.GroupLeader;
import com.zhao.concreteHandler.Manager;

public class Client {
    public static void main(String[] args) {
        Manager manager = new Manager();

        GroupLeader groupLeader = new GroupLeader();

        groupLeader.setNextHandler(manager);

        groupLeader.handle(1);
        groupLeader.handle(5);
    }
}
